
<div class="row-content am-cf">
    <div class="row">
        <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
            <div class="widget am-cf">


                    <!-- 基本信息 -->
                    <div class="widget-head am-cf">
                        <div class="widget-title am-fl">基本信息</div>
                    </div>
                    <div class="am-scrollable-horizontal">
                        <table class="regional-table am-table am-table-bordered am-table-centered
                            am-text-nowrap am-margin-bottom-xs">
                            <tbody>
                            <tr>
                                <th>消息类型</th>
                                <th>商户名称</th>
                                <th>消息标题</th>
                                <th>是否查看</th>
                                <th>创建时间</th>
                            </tr>
                            <tr>
                                <td>
                                    <?php if ($detail['type']['value'] ==1) : ?>
                                        <span class="x-color-green">全体商户</span>
                                    <?php else: ?>
                                        <span class="x-color-yellow">指定商户</span>
                                    <?php endif; ?>
                                </td>
                                <td>
                                    <?php if ($detail['type']['value'] ==1) : ?>
                                        <span class="x-color-red">全体商户</span>
                                    <?php else: ?>
                                        <?= $detail['wxapp']['wxapp_name']; ?>
                                    <?php endif; ?>
                                </td>

                                <td class="">
                                    <?= $detail['title'] ?>
                                </td>
                                <td>
                                    <?php if ($detail['is_see']['value'] ==0) : ?>
                                        <span class="x-color-red">未读</span>
                                    <?php else: ?>
                                        <span class="x-color-green">已读</span>
                                    <?php endif; ?>
                                </td>
                                <td>
                                    <?= $detail['create_time']?>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                        <table class="regional-table am-table am-table-bordered am-table-centered
                            am-text-nowrap am-margin-bottom-xs">
                            <tbody>

                            <tr>内容</tr>
                            <tr><td><div style="width: 500px;margin: 0 10px"><?= $detail['content']?></div></td></tr>
                            </tbody>
                        </table>
                    </div>



                </div>
            </div>

        </div>
    </div>
</div>

